package com.linjj.seckill.rabbitmq;


import com.linjj.seckill.domain.User;

/**
 * 秒杀消息
 * */
public class SeckillMessage {
    private User user;
    private long goodsId;
    private String address;
    public SeckillMessage(){}
    public SeckillMessage(User user, long goodsId,String address) {
        this.user = user;
        this.goodsId = goodsId;
        this.address = address;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(long goodsId) {
        this.goodsId = goodsId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
